package com.hlxy.fixdb.common;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

/**
 * 动态数据源
 * @author Puao
 *
 */
public class DynamicDataSource extends AbstractRoutingDataSource{
	
	protected Object determineCurrentLookupKey() {
		   return DatabaseContextHolder.getDatabaseType();
	}

}
